import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import permission from './modules/permission'
import tagsView from './modules/tagsView'
import user from './modules/user'
import group from './modules/group'
import draw from './modules/draw'
import medalrank from './modules/medalrank'
import integralRecord from './modules/integralRecord'
import vote from './modules/vote'
import holidaywishes from './modules/holidaywishes'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
      app,
      permission,
      tagsView,
      user,
      group,
      draw,
      medalrank,
      integralRecord,
      vote,
      holidaywishes
    },
    getters
  })
  
  export default store